package com.kclm.xsap.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kclm.xsap.entity.ReservationRecordEntity;

import java.time.LocalDateTime;
import java.util.List;

public interface ReservationRecordService  extends IService<ReservationRecordEntity> {

    List<ReservationRecordEntity> selectList(QueryWrapper<ReservationRecordEntity> wrapper);

    LocalDateTime getReserveTime(Long scheduleId);
    void isInfo(ReservationRecordEntity reservationRecordEntity,String startDate);


    boolean isCancel(Long reserveId);

    void isCanInfo(Long reserveId) throws Exception;

    void isAdd(ReservationRecordEntity reservationRecordEntity, String startDate);

}
